#!/bin/bash
if [ $(ps -ef | grep -c "ssh") -gt 1 ]; then echo "true"; fi
num=1

while (($num <=5 ))
do
    echo "$num"
    let "num++"
done

arrays=(9 8 7 5 1)
for index in ${arrays[@]};do
    echo "index $index"
done